package designpattern.template;

public abstract class AbstractTemplate {
    public void step1(){
        System.out.println("step1");
    }

    public void step2(){
        System.out.println("step2");
    }

    public void step3(){
        System.out.println("step3");
    }

    public final void template(){
        this.step1();
        this.step2();
        this.step3();
    }
}
